package com.sky.his.api.front.service;

import com.sky.his.api.common.PageUtils;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;
import java.util.Map;

public interface OrderService {

//    HashMap createPayment(Map param);

    boolean updatePayment(Map param);

    Integer searchCustomerId(String outTradeNo);

    @Transactional
    boolean searchPaymentResult(String outTradeNo);

    PageUtils searchByPage(Map param);

    boolean refund(Map param);

    boolean updateRefundStatus(String outRefundNo);

    boolean hasOwnOrder(Map param);
}
